<template>
  <div>
    <div v-if="route.query.publishType == 1">
      <ArticleSetting />
    </div>
    <div v-else-if="route.query.publishType == 0">
      <CommonSetting />
    </div>
  </div>
</template>

<script setup>
import { useRoute } from 'vue-router'
import CommonSetting from './CommonSetting.vue'
import ArticleSetting from './ArticleSetting.vue'

const route = useRoute()
</script>

<style lang="scss" scoped></style>
